package com.isunland.managesystem.entity;

import java.io.Serializable;

public class ExcManContent implements Serializable {
  public String jobno;
  public String excManName;

  //构造器
  public ExcManContent() {
    super();
  }

  public ExcManContent(String jobno, String excManName) {
    super();
    this.jobno = jobno;
    this.excManName = excManName;
  }

  public String getJobno() {
    return jobno;
  }

  public void setJobno(String jobno) {
    this.jobno = jobno;
  }

  public String getExcManName() {
    return excManName;
  }

  public void setExcManName(String excManName) {
    this.excManName = excManName;
  }

  @Override public boolean equals(Object o) {
    if (!(o instanceof ExcManContent)) return false;
    return (this.excManName.equals(((ExcManContent) o).excManName));
  }

  @Override public int hashCode() {
    //return Objects.hash(jobno, excManName);
    //return 6 * jobno.hashCode()+ 8 * excManName.hashCode();
    return excManName.hashCode();
  }
}
